package cn.sumpu.app.coolsk.dao;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.coolsk.domain.Ticket;
import cn.sumpu.app.coolsk.domain.TicketPrice;
import cn.sumpu.app.coolsk.exception.AppBusinessException;

public interface TicketDao {
	public void insertTicket(Ticket ticket)throws AppBusinessException;

	public void updateTicket(Ticket ticket)throws AppBusinessException;
	
	public List<Ticket> getTicket(Map<String,Object> map)throws AppBusinessException;
	
	public int getTicketCount(Map<String,Object> map)throws AppBusinessException;
	
	public void delTicket(Map<String,Object> map)throws AppBusinessException;
	
	public List<TicketPrice> getTicketPrice(Map<String,Object> map)throws AppBusinessException;
	
	public void delTicketPrice(Map<String,Object> map)throws AppBusinessException;
	
	public void insertTicketPrice(TicketPrice tp)throws AppBusinessException;
}
